define([
    "jquery",
    "underscore",
    "backbone"
], function ($, _, Backbone) {
    'use strict';

    var link = {
        "login": {id: "login"},
        "init": {id: "init"},
    };

    console.log(JSON.stringify(link));

    var linkList = {};

    $.each(link, function (key, value) {
        linkList[key] = "api/" + value.id;
    });

    console.log(JSON.stringify(linkList));

    return {
        link: link,
        linkList: linkList
    };
});